import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { upperPipe } from '../../common/pipe/upper.pipe';
import { BookCatalogueComponent } from './book-catalogue.component';
import { bookListComponent } from '../book-list-component/book-list.component';
import { FormsModule } from '@angular/forms';
import { catalogueService } from './model/catalogueService/catalogueService';
import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
import { CatalogueDetailComponent } from '../catalogue-detail-component/catalogue-detail.component';
// import { InMemoryDataService } from '../../InMemoryDataService';
import { CatalogueSearchService } from '../catalogue-search-component/service/catalogue-search';
import { CatalogueSearchComponent } from '../catalogue-search-component/catalogue-search.compoent';

@NgModule({
    imports: [CommonModule,
        FormsModule,
        //  Router,
    ],
    exports: [],
    declarations: [BookCatalogueComponent,
        CatalogueDetailComponent,
        CatalogueSearchComponent],
    providers: [catalogueService, CatalogueSearchService]
})
export class BookCatalogueModule { }
